let express = require("express");



let app = express()

app.all('/publish/:id.json',(request,response)=>{
    response.setHeader('Access-Control-Allow-Origin','*');
    
    
    response.sendFile(__dirname+request.url)
    
})
app.listen(8090,()=>{
    console.log(111);
})